<template>
    <div>
        <div class="title">
            <h1>/admin/Products</h1>
        </div>
        <div class="body" v-if="!!product">
            {{ product.name }}
        </div>
    </div>
</template>

<script>
export default {
    computed: {
        product() {
            return this.$store.getters.allProducts[0]
        }
    }
}
</script>
